package com.fayou.algorithm.num;

public class Nummber {
    public static void main(String[] args) {
        SuShu();
    }


    private static void SuShu() {
        for (int i = 2; i < 100; i++) {
            boolean flag = true;
            for (int j = 2; j < i; j++) {
                if (i % j == 0) {
                    flag = false;
                    break;
                }
            }
            if (flag){
                System.out.println(":"+i);
            }

        }


    }


    private static void Is2Power() {
        for (int i = 0; i < 2000000; i++) {
            if (i < 2) {
                continue;
            }

            if (0 == (i & (i - 1))) {
                System.out.println("  "+i);
            }
        }
    }
}
